import {requests} from '@/utils/requestApi.js';

async function getBaiduRecommendData(searchContent,searchEngine) {
	return await requests(`https://dtools.cpolar.cn/api/dtools-utils/utils/search/recommend?searchValue=${searchContent}&searchEngine=${searchEngine}`)
}

async function getBookmarkData(searchContent) {
	return await requests(`https://dtools.cpolar.cn/api/dtools-utils/utils/search/recommend?searchValue=${searchContent}`)
}

export default {
	getBaiduRecommendData,
}
